import api from './index'
// axios
import request from '@/utils/request'
import qs from 'qs'
import { encryptAes } from '@/utils/encryptUtil'

// 获取日程安排
export function getDoctorSchedules(sdate) {
  let encryptStr = encryptAes(JSON.stringify({ sdate }))
  return request({
    url: api.getDoctorSchedules,
    method: 'post',
    data: qs.stringify({ 'paramText': encryptStr })
  })
}
